<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<jsp:useBean id="currentPageNumber" type="java.lang.Integer" scope="request"/>


<table border=0 cellpadding=0 cellspacing=0 width="100%">
<tr align=center valign=top>
<td valign=bottom><font face=arial,sans-serifsize=-1>页码:</font></td>
<pg:prev export="pageUrl" ifnull="<%= true %>">
  <%
      if (pageUrl != null) { %>
    <td align=right>
        <A HREF="<%= pageUrl %>&pageNo=<%= currentPageNumber-1 %>"><IMG
      SRC=http://www.google.com/nav_previous.gif alt="" border=0><br>
    <b>上一页</b></A>
    
    </td>
  <% } else { %>
    <td><IMG SRC=http://www.google.com/nav_first.gif alt="" border=0></td>
  <% } %>
</pg:prev>
<pg:pages>
  <% if (pageNumber == currentPageNumber) { %>
    <td><IMG SRC=http://www.google.com/nav_current.gif alt=""><br>
    <font color=#A90A08><%= pageNumber %></font></td>
  <% } else { %>
    <td><A HREF="<%= pageUrl %>&pageNo=<%= pageNumber %>"><IMG
      SRC=http://www.google.com/nav_page.gif alt="" border=0><br>
    <%= pageNumber %></A></td>
  <% } %>
</pg:pages>
<pg:next export="pageUrl" ifnull="<%= true %>">
  <% if (pageUrl != null) { %>
    <td><A HREF="<%= pageUrl %>&pageNo=<%= currentPageNumber+1 %>"><IMG
      SRC=http://www.google.com/nav_next.gif alt="" border=0><br>
    <b>下一页</b></A></td>
  <% } else { %>
    <td><IMG SRC=http://www.google.com/nav_last.gif alt="" border=0></td>
  <% } %>
</pg:next>
</tr>
</table>

